package struct;

/**
 * Created by qq65827 on 2015/1/31.
 */
public class Main {

    //测试类 ，每次提交完代码后删除，这样可避免反复写main函数

    public static void main(String[] args) {

        LinkedList<String> linkedList = new LinkedList<>();
        linkedList.add(0, "0");
        linkedList.add(1, "1");
        linkedList.add(2, "2");
        linkedList.add(3, "3");

        System.out.println(linkedList.get(1));

        //System.out.println(linkedList.getLast());


    }

}
